home *** CD-ROM | disk | FTP | other *** search
- global gTime, gPlayList, gCheck
-
- on mouseDown
- puppetSprite(the clickOn, 1)
- set s to the memberNum of sprite the clickOn
- repeat while the stillDown
- if rollOver(the clickOn) then
- set the memberNum of sprite the clickOn to 36
- updateStage()
- next repeat
- end if
- set the memberNum of sprite the clickOn to 35
- updateStage()
- end repeat
- end
-
- on mouseUp
- set s to the memberNum of sprite the clickOn
- if rollOver(the clickOn) then
- set the memberNum of sprite the clickOn to 34
- updateStage()
- add(gPlayList, field 161)
- puppetSound(1, "soft metal")
- set gCheck to gCheck - 1
- updateStage()
- if gCheck = 0 then
- puppetSprite(2, 0)
- updateStage()
- case gTime of
- 1:
- go("icon1")
- 2:
- go("icon2")
- 3:
- go("icon3")
- end case
- else
- put EMPTY into field 161
- puppetSprite(2, 0)
- updateStage()
- go(#next)
- end if
- end if
- end
-
- on mouseEnter me
- set the member of sprite the currentSpriteNum to "OK ON ROLLOVER"
- end
-
- on mouseLeave me
- set the member of sprite the currentSpriteNum to "OK NORMAL"
- end
-